import { defineStore } from 'pinia'
import { MenuState } from './types'
const useMenuState = defineStore('menu', {
  state: (): MenuState => ({
    isEditData: false
  }),

  actions: {
    switchEditStatus(status: boolean) {
      this.isEditData = status
    }
  }
})

export default useMenuState
